﻿//cesium 三维的影响结构数据 -->
// 初始化地图

var timerlabel = (function () {
    // 初始化
    function timerlabel() {
        // 属性
        this.timer = {};
    };
    timerlabel.prototype.resize = function (options) {
      
     
    }
    ////
    timerlabel.prototype.init = function (options) {
        var that = this;
        var labelid = options.id + "timerlabel";
        var html = "<div id='" + labelid + "'></div>";
        $("#" + options.id).html(html);
        this.timer = setInterval(function () {
            var labeltxt = moment().format("YYYY-MM-DD HH:mm:ss");
            $("#" + labelid).html(labeltxt);
        }, 1000)  
    }
    // 返回
    return timerlabel;
})();